package com.yxy.ms.manager.common;

import java.io.Serializable;


/**
 * @author
 * @description:
 * @date 2019/6/12
 * @Version V1.0
 */
public class Results implements Serializable {


    /**
     * @author jhwang
     * @date Jul 7, 2016 9:57:53 PM
     */
    private static final long serialVersionUID = 1L;
    /**
     * 错误代码
     */
    private String err_code;
    /**
     * 错误描述
     */
    private String err_desc;
    /**
     * 执行结果 T成功 F失败
     */
    private String flag;
    private Object result;

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_desc() {
        return err_desc;
    }

    public void setErr_desc(String err_desc) {
        this.err_desc = err_desc;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public Results(String flag, String err_code, String err_desc) {
        super();
        this.err_code = err_code;
        this.err_desc = err_desc;
        this.flag = flag;
    }

    public Results(String err_code, String err_desc, String flag, Object result) {
        this.err_code = err_code;
        this.err_desc = err_desc;
        this.flag = flag;
        this.result = result;
    }

    public Results() {
        super();
    }

}
